<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>音频播放</title>
	</head>
	<body>
		<div id="yinpin">
			
		</div>
		<script src="/admin/utils/layui/layui.js" charset="utf-8"></script>
		<script src="/admin/utils/layui/config.js" charset="utf-8"></script>
		<script>
			layui.use(['helper'], function () {
				var $ = layui.$;
				if(isset($_GET['url']) == false){
					$_GET['url'] = parent.window.selectObj.data.url;
				}	
				$("#yinpin").html('<audio controls="controls"  autoplay="autoplay" style="height:300px; width:100%; background:#000;">\
		  <source src="song.ogg" type="audio/ogg">\
		  <source src="'+$_GET['url']+'" type="audio/mpeg" >\
		Your browser does not support the audio tag.\
		</audio>');
		
			});
		</script>
	</body>
</html>
